﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace EasyUIDemo.MVC.Controllers
{
    public class FloorsController : Controller
    {
        //
        // GET: /Floors/

        public ActionResult Index(int? id)
        {
            ViewBag.id = id;
            return View();
        }
        public string structs()
        {
            var structs = Common.EnumListDic("请选择", "房屋结构", "0");
            var list = Newtonsoft.Json.JsonConvert.SerializeObject(structs);
            return list;
        }
        public string types()
        {
            var types = Common.EnumListDic("请选择", "建筑类型", "0");
            return Newtonsoft.Json.JsonConvert.SerializeObject(types);
        }
        public string outs()
        {
            var outs = Common.EnumListDic("请选择", "外立面装饰", "0");
            return Newtonsoft.Json.JsonConvert.SerializeObject(outs);
        }
        public string publics()
        {
            var publics = Common.EnumListDic("请选择", "公共部位装修", "0");
            return Newtonsoft.Json.JsonConvert.SerializeObject(publics);
        }
        public string dian()
        {
            var dian = Common.EnumListDic("请选择", "电梯", "0");
            return Newtonsoft.Json.JsonConvert.SerializeObject(dian);
        }
        public string gong()
        {
            var gong = Common.EnumListDic("请选择", "供气", "0");
            return Newtonsoft.Json.JsonConvert.SerializeObject(gong);
        }
        public string water()
        {
            var water = Common.EnumListDic("请选择", "供水", "0");
            return Newtonsoft.Json.JsonConvert.SerializeObject(water);
        }
        public string nuan()
        {
            var nuan = Common.EnumListDic("请选择", "供暖", "0");
            return Newtonsoft.Json.JsonConvert.SerializeObject(nuan);
        }
        public string door()
        {
            var door = Common.EnumListDic("请选择", "门禁", "0");
            return Newtonsoft.Json.JsonConvert.SerializeObject(door);
        }


    }
}
